home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / keepas.z / keepas
Encoding:
Text File  |  2002-10-03  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. kkkkeeeeeeeeppppaaaassss((((3333GGGG))))                                                          kkkkeeeeeeeeppppaaaassss((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      kkkkeeeeeeeeppppaaaassss - specifies the aspect ratio of a graphics window
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee kkkkeeeeeeeeppppaaaassss((((xxxx,,,, yyyy))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 xxxx,,,, yyyy
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _x   expects the horizontal proportion of the aspect ratio. The value must
  17.          be between 1 and 32767 ($7fff), inclusive.
  18.  
  19.      _y   expects the vertical proportion of the aspect ratio. The value must
  20.          be between 1 and 32767 ($7fff), inclusive.
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      kkkkeeeeeeeeppppaaaassss specifies the aspect ratio of a graphics window.  Call it at the
  24.      beginning of a graphics program. It takes effect when you call wwwwiiiinnnnooooppppeeee.
  25.      The resulting graphics window maintains the aspect ratio specified in
  26.      kkkkeeeeeeeeppppaaaassss, even if it changes size.
  27.  
  28.      For example, kkkkeeeeeeeeppppaaaassss((((1111,,,, 1111)))) always results in a square graphics window.
  29.      You can also call kkkkeeeeeeeeppppaaaassss in conjunction with wwwwiiiinnnnccccoooonnnn to modify the
  30.      enforced aspect ratio after the window has been created.
  31.  
  32. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  33.      fudge, wincon, winope
  34.  
  35. NNNNOOOOTTTTEEEE
  36.      This routine is available only in immediate mode.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.